package com.exmple.dao.impl;

import com.exmple.dao.IAddressDao;
import com.exmple.model.Address;
import org.springframework.stereotype.Component;

@Component
public class AddressDaoImpl implements IAddressDao {
    @Override
    public int insertAddress(Address address) {
        System.out.println("插入成功");
        System.out.println("id为"+address.getId());
        return address.getId();
    }
}
